package com.smarttest.common.beans.protolcol;

import java.io.Serializable;
import java.util.Date;
/**
 * 
 * @author gaoyaming 2014年9月16日 上午10:38:37
 *
 */
public class CTBox  implements Serializable{
	private static final long serialVersionUID = -94912064351790456L;
	
	private Date time;					//温度采集时间
	private Date createTime;		//数据创建时间
	private String imei;				//
	private int gpsno;
	private int temperature;		//温度	1路
	private int moisture;			//湿度	1路
	private String tpAlarm;			//温度报警位
	private String mtAlarm;			//湿度报警位
	private int onOff;					//开关量
	private Location loc;				//位置信息
	private String type; // 01老版本冷链   02新版本冷链  03便携式冷链
	private String properties;
	
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getImei() {
		return imei;
	}
	public void setImei(String imei) {
		this.imei = imei;
	}
	
	public int getTemperature() {
		return temperature;
	}
	public void setTemperature(int temperature) {
		this.temperature = temperature;
	}
	public int getMoisture() {
		return moisture;
	}
	public void setMoisture(int moisture) {
		this.moisture = moisture;
	}
	public String getTpAlarm() {
		return tpAlarm;
	}
	public void setTpAlarm(String tpAlarm) {
		this.tpAlarm = tpAlarm;
	}
	public String getMtAlarm() {
		return mtAlarm;
	}
	public void setMtAlarm(String mtAlarm) {
		this.mtAlarm = mtAlarm;
	}
	public int getOnOff() {
		return onOff;
	}
	public void setOnOff(int onOff) {
		this.onOff = onOff;
	}
	public String getProperties() {
		return properties;
	}
	public void setProperties(String properties) {
		this.properties = properties;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Location getLoc() {
		return loc;
	}
	public void setLoc(Location loc) {
		this.loc = loc;
	}
	public int getGpsno() {
		return gpsno;
	}
	public void setGpsno(int gpsno) {
		this.gpsno = gpsno;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	@Override
	public String toString() {
		return "CTBox [time=" + time + ", createTime=" + createTime + ", imei="
				+ imei + ", gpsno=" + gpsno + ", temperature=" + temperature
				+ ", moisture=" + moisture + ", tpAlarm=" + tpAlarm
				+ ", mtAlarm=" + mtAlarm + ", onOff=" + onOff + ", loc=" + loc
				+ ", type=" + type + ", properties=" + properties + "]";
	}		
}
